package com.fintech.common.entity;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;

/**
 * 维护升级提示DTO
 * 
 * @author tux
 *
 */
public class MaintenanceResult implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7580350396062093509L;
	/**
	 * 是否维护升级（true：维护 false：不维护）
	 */
	private boolean isMaintenance;
	/**
	 * 维护升级结束时间（维护时生效）
	 */
	private String endTime;
	/**
	 * 扩展字段
	 */
	private Object ext;

	public boolean isMaintenance() {
		return isMaintenance;
	}

	public void setMaintenance(boolean isMaintenance) {
		this.isMaintenance = isMaintenance;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Object getExt() {
		return ext;
	}

	public void setExt(Object ext) {
		this.ext = ext;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
